package com.example.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDate;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author baomidou
 * @since 2025-05-13
 */
@Getter
@Setter
public class Device implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 设备编号
     */
    @TableId(value = "device_id", type = IdType.AUTO)
    private Integer deviceId;

    /**
     * 设备名称
     */
    private String deviceName;

    /**
     * 设备类型
     */
    private String deviceType;

    /**
     * 生产厂商
     */
    private String manufacturer;

    /**
     * 出厂日期
     */
    private LocalDate manufactureDate;

    /**
     * 质保期
     */
    private String warrantyPeriod;

    /**
     * 售后联系人
     */
    private String afterSalesContact;

    /**
     * 联系电话
     */
    private String contactPhone;

    /**
     * 质保说明
     */
    private String warrantyDescription;

    private Integer deptId;

    // 设备状态, "报废"
    private String status;
}
